
<!doctype html>
<html lang="en" class="no-js">
  <head>
    
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width,initial-scale=1">
      
        <meta name="description" content="ESP8266/ESP32 WLAN configuration at run time with web interface">
      
      
        <meta name="author" content="Hieromon Ikasamo">
      
      
        <link rel="canonical" href="https://Hieromon.github.io/AutoConnect/apielements.html">
      
      
        <link rel="prev" href="apiconfig.html">
      
      
        <link rel="next" href="apiupdate.html">
      
      <link rel="icon" href="assets/images/favicon.png">
      <meta name="generator" content="mkdocs-1.4.2, mkdocs-material-9.0.9">
    
    
      
        <title>AutoConnectElements API - AutoConnect for ESP8266/ESP32</title>
      
    
    
      <link rel="stylesheet" href="assets/stylesheets/main.0d440cfe.min.css">
      
        
        <link rel="stylesheet" href="assets/stylesheets/palette.2505c338.min.css">
      
      

    
    
    
      
        
        
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
        <style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
      
    
    
      <link rel="stylesheet" href="css/paragraph.css">
    
      <link rel="stylesheet" href="css/extra.css">
    
      <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css">
    
    <script>__md_scope=new URL(".",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
    
      
  


  
  


  <script id="__analytics">function __md_analytics(){function n(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],n("js",new Date),n("config","G-EHK8XV10VE"),document.addEventListener("DOMContentLoaded",function(){document.forms.search&&document.forms.search.query.addEventListener("blur",function(){this.value&&n("event","search",{search_term:this.value})}),document$.subscribe(function(){var a=document.forms.feedback;if(void 0!==a)for(var e of a.querySelectorAll("[type=submit]"))e.addEventListener("click",function(e){e.preventDefault();var t=document.location.pathname,e=this.getAttribute("data-md-value");n("event","feedback",{page:t,data:e}),a.firstElementChild.disabled=!0;e=a.querySelector(".md-feedback__note [data-md-value='"+e+"']");e&&(e.hidden=!1)}),a.hidden=!1}),location$.subscribe(function(e){n("config","G-EHK8XV10VE",{page_path:e.pathname})})});var e=document.createElement("script");e.async=!0,e.src="https://www.googletagmanager.com/gtag/js?id=G-EHK8XV10VE",document.getElementById("__analytics").insertAdjacentElement("afterEnd",e)}</script>

  
    <script>"undefined"!=typeof __md_analytics&&__md_analytics()</script>
  

    
    
    
  </head>
  
  
    
    
    
    
    
    <body dir="ltr" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="indigo">
  
    
    
    <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
    <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
    <label class="md-overlay" for="__drawer"></label>
    <div data-md-component="skip">
      
        
        <a href="#autoconnectbutton" class="md-skip">
          Skip to content
        </a>
      
    </div>
    <div data-md-component="announce">
      
    </div>
    
    
      

<header class="md-header" data-md-component="header">
  <nav class="md-header__inner md-grid" aria-label="Header">
    <a href="index.html" title="AutoConnect for ESP8266/ESP32" class="md-header__button md-logo" aria-label="AutoConnect for ESP8266/ESP32" data-md-component="logo">
      
  <img src="images/arduino-logo.svg" alt="logo">

    </a>
    <label class="md-header__button md-icon" for="__drawer">
      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg>
    </label>
    <div class="md-header__title" data-md-component="header-title">
      <div class="md-header__ellipsis">
        <div class="md-header__topic">
          <span class="md-ellipsis">
            AutoConnect for ESP8266/ESP32
          </span>
        </div>
        <div class="md-header__topic" data-md-component="header-topic">
          <span class="md-ellipsis">
            
              AutoConnectElements API
            
          </span>
        </div>
      </div>
    </div>
    
    
    
      <label class="md-header__button md-icon" for="__search">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
      </label>
      <div class="md-search" data-md-component="search" role="dialog">
  <label class="md-search__overlay" for="__search"></label>
  <div class="md-search__inner" role="search">
    <form class="md-search__form" name="search">
      <input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
      <label class="md-search__icon md-icon" for="__search">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
      </label>
      <nav class="md-search__options" aria-label="Search">
        
        <button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1">
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
        </button>
      </nav>
      
    </form>
    <div class="md-search__output">
      <div class="md-search__scrollwrap" data-md-scrollfix>
        <div class="md-search-result" data-md-component="search-result">
          <div class="md-search-result__meta">
            Initializing search
          </div>
          <ol class="md-search-result__list" role="presentation"></ol>
        </div>
      </div>
    </div>
  </div>
</div>
    
    
      <div class="md-header__source">
        <a href="https://github.com/Hieromon/AutoConnect" title="Go to repository" class="md-source" data-md-component="source">
  <div class="md-source__icon md-icon">
    
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
  </div>
  <div class="md-source__repository">
    Hieromon/AutoConnect
  </div>
</a>
      </div>
    
  </nav>
  
</header>
    
    <div class="md-container" data-md-component="container">
      
      
        
          
        
      
      <main class="md-main" data-md-component="main">
        <div class="md-main__inner md-grid">
          
            
              
              <div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
                <div class="md-sidebar__scrollwrap">
                  <div class="md-sidebar__inner">
                    


<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
  <label class="md-nav__title" for="__drawer">
    <a href="index.html" title="AutoConnect for ESP8266/ESP32" class="md-nav__button md-logo" aria-label="AutoConnect for ESP8266/ESP32" data-md-component="logo">
      
  <img src="images/arduino-logo.svg" alt="logo">

    </a>
    AutoConnect for ESP8266/ESP32
  </label>
  
    <div class="md-nav__source">
      <a href="https://github.com/Hieromon/AutoConnect" title="Go to repository" class="md-source" data-md-component="source">
  <div class="md-source__icon md-icon">
    
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
  </div>
  <div class="md-source__repository">
    Hieromon/AutoConnect
  </div>
</a>
    </div>
  
  <ul class="md-nav__list" data-md-scrollfix>
    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="index.html" class="md-nav__link">
        Overview
      </a>
    </li>
  

    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="gettingstarted.html" class="md-nav__link">
        Getting started
      </a>
    </li>
  

    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="menu.html" class="md-nav__link">
        AutoConnect menu
      </a>
    </li>
  

    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="basicusage.html" class="md-nav__link">
        Basic usage
      </a>
    </li>
  

    
      
      
      

  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5" >
      
      
      
        <label class="md-nav__link" for="__nav_5" id="__nav_5_label" tabindex="0">
          Advanced usage
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_5_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_5">
          <span class="md-nav__icon md-icon"></span>
          Advanced usage
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="advancedusage.html" class="md-nav__link">
        Advanced usage
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="adconnection.html" class="md-nav__link">
        AutoConnect WiFi connection control
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="adcpcontrol.html" class="md-nav__link">
        Captive portal control
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="adnetwork.html" class="md-nav__link">
        Settings and controls for network and WiFi
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="adauthentication.html" class="md-nav__link">
        Authentication settings
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="adcredential.html" class="md-nav__link">
        Credential accesses
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="adexterior.html" class="md-nav__link">
        Customizing page appearance
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="adothers.html" class="md-nav__link">
        Other operation settings and controls
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

    
      
      
      

  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_6" >
      
      
      
        <label class="md-nav__link" for="__nav_6" id="__nav_6_label" tabindex="0">
          Custom Web pages
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_6_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_6">
          <span class="md-nav__icon md-icon"></span>
          Custom Web pages
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="acintro.html" class="md-nav__link">
        Custom Web pages with AutoConnect
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="acelements.html" class="md-nav__link">
        AutoConnectElements
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="acjson.html" class="md-nav__link">
        Custom Web pages with JSON
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="achandling.html" class="md-nav__link">
        Handling the custom Web pages
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="acinteract.html" class="md-nav__link">
        Interact between Sketch and AutoConnectElements
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

    
      
      
      

  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_7" >
      
      
      
        <label class="md-nav__link" for="__nav_7" id="__nav_7_label" tabindex="0">
          OTA Updates
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_7_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_7">
          <span class="md-nav__icon md-icon"></span>
          OTA Updates
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="otaupdate.html" class="md-nav__link">
        OTA Updates
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="otabrowser.html" class="md-nav__link">
        OTA via Web Browser
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="otaserver.html" class="md-nav__link">
        OTA using Update Server
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="filesystem.html" class="md-nav__link">
        Using Filesystem
      </a>
    </li>
  

    
      
      
      

  
  
    
  
  
    
    <li class="md-nav__item md-nav__item--active md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_9" checked>
      
      
      
        <label class="md-nav__link" for="__nav_9" id="__nav_9_label" tabindex="0">
          Library APIs
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_9_label" aria-expanded="true">
        <label class="md-nav__title" for="__nav_9">
          <span class="md-nav__icon md-icon"></span>
          Library APIs
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="api.html" class="md-nav__link">
        AutoConnect API
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="apiaux.html" class="md-nav__link">
        AutoConnectAux API
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="apiconfig.html" class="md-nav__link">
        AutoConnectConfig API
      </a>
    </li>
  

            
          
            
              
  
  
    
  
  
    <li class="md-nav__item md-nav__item--active">
      
      <input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
      
      
      
        <label class="md-nav__link md-nav__link--active" for="__toc">
          AutoConnectElements API
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <a href="apielements.html" class="md-nav__link md-nav__link--active">
        AutoConnectElements API
      </a>
      
        

<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
  
  
  
  
    <label class="md-nav__title" for="__toc">
      <span class="md-nav__icon md-icon"></span>
      Table of contents
    </label>
    <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
      
        <li class="md-nav__item">
  <a href="#autoconnectbutton" class="md-nav__link">
    AutoConnectButton
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectButton">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#action" class="md-nav__link">
     action
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#enable" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#canhandle" class="md-nav__link">
     canHandle
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#off" class="md-nav__link">
     off
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#on" class="md-nav__link">
     on
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#response" class="md-nav__link">
     response
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#typeof" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectcheckbox" class="md-nav__link">
    AutoConnectCheckbox
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectCheckbox">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_1" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_1" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#checked" class="md-nav__link">
     checked
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#enable_1" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_1" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#label" class="md-nav__link">
     label
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#labelposition" class="md-nav__link">
     labelPosition
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_1" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_1" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_1" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_1" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#canhandle_1" class="md-nav__link">
     canHandle
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#off_1" class="md-nav__link">
     off
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#on_1" class="md-nav__link">
     on
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#response_1" class="md-nav__link">
     response
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#typeof_1" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectelement" class="md-nav__link">
    AutoConnectElement
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectElement">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_2" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_2" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_2" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_2" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_2" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_2" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_2" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_2" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#typeof_2" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#ast" class="md-nav__link">
     as&lt;T>
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectfile" class="md-nav__link">
    AutoConnectFile
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectFile">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_3" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_3" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_3" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_3" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#label_1" class="md-nav__link">
     label
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#mimetype" class="md-nav__link">
     mimeType
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_3" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_3" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#size" class="md-nav__link">
     size
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#store" class="md-nav__link">
     store
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_3" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_3" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#typeof_3" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectinput" class="md-nav__link">
    AutoConnectInput
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectInput">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_4" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_4" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_4" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_4" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#label_2" class="md-nav__link">
     label
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_4" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#pattern" class="md-nav__link">
     pattern
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#placeholder" class="md-nav__link">
     placeholder
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_4" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_4" class="md-nav__link">
     value
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#apply" class="md-nav__link">
     apply
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_4" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#canhandle_2" class="md-nav__link">
     canHandle
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#isvalid" class="md-nav__link">
     isValid
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#off_2" class="md-nav__link">
     off
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#on_2" class="md-nav__link">
     on
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#response_2" class="md-nav__link">
     response
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#typeof_4" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectradio" class="md-nav__link">
    AutoConnectRadio
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectRadio">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_5" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_5" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#checked_1" class="md-nav__link">
     checked
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#enable_5" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_5" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#label_3" class="md-nav__link">
     label
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_5" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#order" class="md-nav__link">
     order
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_5" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#values" class="md-nav__link">
     values
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_5" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#add" class="md-nav__link">
     add
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#canhandle_3" class="md-nav__link">
     canHandle
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#check" class="md-nav__link">
     check
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#empty" class="md-nav__link">
     empty
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#off_3" class="md-nav__link">
     off
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#on_3" class="md-nav__link">
     on
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#operator" class="md-nav__link">
     operator &#91;&nbsp;&#93;
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#size_1" class="md-nav__link">
     size
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#typeof_5" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_5" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectrange" class="md-nav__link">
    AutoConnectRange
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectRange">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_6" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_6" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_6" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_6" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#label_4" class="md-nav__link">
     label
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#magnify" class="md-nav__link">
     magnify
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#max" class="md-nav__link">
     max
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#min" class="md-nav__link">
     min
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_6" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_6" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#step" class="md-nav__link">
     step
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#style" class="md-nav__link">
     style
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_6" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_6" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#typeof_6" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectselect" class="md-nav__link">
    AutoConnectSelect
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectSelect">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_7" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_7" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_7" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_7" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_7" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#label_5" class="md-nav__link">
     label
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#options" class="md-nav__link">
     options
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_7" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#selected" class="md-nav__link">
     selected
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_7" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#add_1" class="md-nav__link">
     add
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#canhandle_4" class="md-nav__link">
     canHandle
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#empty_1" class="md-nav__link">
     empty
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#off_4" class="md-nav__link">
     off
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#on_4" class="md-nav__link">
     on
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#operator_1" class="md-nav__link">
     operator &#91;&nbsp;&#93;
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#select" class="md-nav__link">
     select
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#size_2" class="md-nav__link">
     size
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#typeof_7" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_7" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectstyle" class="md-nav__link">
    AutoConnectStyle
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectStyle">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_8" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_8" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_8" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_8" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_8" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_8" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#typeof_8" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectsubmit" class="md-nav__link">
    AutoConnectSubmit
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectSubmit">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_9" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_9" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_9" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_8" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_9" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_8" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#uri" class="md-nav__link">
     uri
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_9" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_9" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#typeof_9" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnecttext" class="md-nav__link">
    AutoConnectText
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectText">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_10" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_10" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_10" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#format" class="md-nav__link">
     format
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_9" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_10" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_9" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#style_1" class="md-nav__link">
     style
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_10" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_10" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#response_3" class="md-nav__link">
     response
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#typeof_10" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
    </ul>
  
</nav>
      
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="apiupdate.html" class="md-nav__link">
        AutoConnectUpdate API
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="apiextra.html" class="md-nav__link">
        Something extra
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

    
      
      
      

  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_10" >
      
      
      
        <label class="md-nav__link" for="__nav_10" id="__nav_10_label" tabindex="0">
          Examples
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_10_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_10">
          <span class="md-nav__icon md-icon"></span>
          Examples
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="howtoembed.html" class="md-nav__link">
        How to embed
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="datatips.html" class="md-nav__link">
        Tips for data conversion
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="menuize.html" class="md-nav__link">
        Attach the menus
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="wojson.html" class="md-nav__link">
        Custom Web pages w/o JSON
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="esp32cam.html" class="md-nav__link">
        Works with ESP32-CAM
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

    
      
      
      

  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_11" >
      
      
      
        <label class="md-nav__link" for="__nav_11" id="__nav_11_label" tabindex="0">
          Appendix
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_11_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_11">
          <span class="md-nav__icon md-icon"></span>
          Appendix
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="lsbegin.html" class="md-nav__link">
        Inside AutoConnect::begin
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="credit.html" class="md-nav__link">
        Saved credentials access
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="acupload.html" class="md-nav__link">
        File upload handler
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="colorized.html" class="md-nav__link">
        Custom colorized
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="changelabel.html" class="md-nav__link">
        Change label text
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="faq.html" class="md-nav__link">
        FAQ
      </a>
    </li>
  

    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="changelog.html" class="md-nav__link">
        Change log
      </a>
    </li>
  

    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="license.html" class="md-nav__link">
        License
      </a>
    </li>
  

    
  </ul>
</nav>
                  </div>
                </div>
              </div>
            
            
              
              <div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
                <div class="md-sidebar__scrollwrap">
                  <div class="md-sidebar__inner">
                    

<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
  
  
  
  
    <label class="md-nav__title" for="__toc">
      <span class="md-nav__icon md-icon"></span>
      Table of contents
    </label>
    <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
      
        <li class="md-nav__item">
  <a href="#autoconnectbutton" class="md-nav__link">
    AutoConnectButton
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectButton">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#action" class="md-nav__link">
     action
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#enable" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#canhandle" class="md-nav__link">
     canHandle
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#off" class="md-nav__link">
     off
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#on" class="md-nav__link">
     on
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#response" class="md-nav__link">
     response
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#typeof" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectcheckbox" class="md-nav__link">
    AutoConnectCheckbox
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectCheckbox">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_1" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_1" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#checked" class="md-nav__link">
     checked
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#enable_1" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_1" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#label" class="md-nav__link">
     label
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#labelposition" class="md-nav__link">
     labelPosition
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_1" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_1" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_1" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_1" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#canhandle_1" class="md-nav__link">
     canHandle
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#off_1" class="md-nav__link">
     off
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#on_1" class="md-nav__link">
     on
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#response_1" class="md-nav__link">
     response
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#typeof_1" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectelement" class="md-nav__link">
    AutoConnectElement
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectElement">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_2" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_2" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_2" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_2" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_2" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_2" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_2" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_2" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#typeof_2" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#ast" class="md-nav__link">
     as&lt;T>
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectfile" class="md-nav__link">
    AutoConnectFile
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectFile">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_3" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_3" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_3" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_3" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#label_1" class="md-nav__link">
     label
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#mimetype" class="md-nav__link">
     mimeType
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_3" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_3" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#size" class="md-nav__link">
     size
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#store" class="md-nav__link">
     store
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_3" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_3" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#typeof_3" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectinput" class="md-nav__link">
    AutoConnectInput
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectInput">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_4" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_4" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_4" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_4" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#label_2" class="md-nav__link">
     label
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_4" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#pattern" class="md-nav__link">
     pattern
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#placeholder" class="md-nav__link">
     placeholder
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_4" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_4" class="md-nav__link">
     value
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#apply" class="md-nav__link">
     apply
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_4" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#canhandle_2" class="md-nav__link">
     canHandle
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#isvalid" class="md-nav__link">
     isValid
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#off_2" class="md-nav__link">
     off
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#on_2" class="md-nav__link">
     on
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#response_2" class="md-nav__link">
     response
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#typeof_4" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectradio" class="md-nav__link">
    AutoConnectRadio
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectRadio">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_5" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_5" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#checked_1" class="md-nav__link">
     checked
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#enable_5" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_5" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#label_3" class="md-nav__link">
     label
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_5" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#order" class="md-nav__link">
     order
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_5" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#values" class="md-nav__link">
     values
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_5" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#add" class="md-nav__link">
     add
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#canhandle_3" class="md-nav__link">
     canHandle
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#check" class="md-nav__link">
     check
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#empty" class="md-nav__link">
     empty
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#off_3" class="md-nav__link">
     off
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#on_3" class="md-nav__link">
     on
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#operator" class="md-nav__link">
     operator &#91;&nbsp;&#93;
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#size_1" class="md-nav__link">
     size
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#typeof_5" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_5" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectrange" class="md-nav__link">
    AutoConnectRange
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectRange">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_6" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_6" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_6" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_6" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#label_4" class="md-nav__link">
     label
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#magnify" class="md-nav__link">
     magnify
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#max" class="md-nav__link">
     max
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#min" class="md-nav__link">
     min
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_6" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_6" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#step" class="md-nav__link">
     step
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#style" class="md-nav__link">
     style
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_6" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_6" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#typeof_6" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectselect" class="md-nav__link">
    AutoConnectSelect
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectSelect">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_7" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_7" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_7" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_7" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_7" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#label_5" class="md-nav__link">
     label
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#options" class="md-nav__link">
     options
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_7" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#selected" class="md-nav__link">
     selected
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_7" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#add_1" class="md-nav__link">
     add
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#canhandle_4" class="md-nav__link">
     canHandle
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#empty_1" class="md-nav__link">
     empty
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#off_4" class="md-nav__link">
     off
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#on_4" class="md-nav__link">
     on
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#operator_1" class="md-nav__link">
     operator &#91;&nbsp;&#93;
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#select" class="md-nav__link">
     select
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#size_2" class="md-nav__link">
     size
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#typeof_7" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_7" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectstyle" class="md-nav__link">
    AutoConnectStyle
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectStyle">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_8" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_8" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_8" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_8" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_8" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_8" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#typeof_8" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnectsubmit" class="md-nav__link">
    AutoConnectSubmit
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectSubmit">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_9" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_9" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_9" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_8" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_9" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_8" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#uri" class="md-nav__link">
     uri
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_9" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_9" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#typeof_9" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#autoconnecttext" class="md-nav__link">
    AutoConnectText
  </a>
  
    <nav class="md-nav" aria-label="AutoConnectText">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#constructor_10" class="md-nav__link">
     Constructor
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-variables_10" class="md-nav__link">
     Public member variables
  </a>
  
    <nav class="md-nav" aria-label=" Public member variables">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#enable_10" class="md-nav__link">
     enable
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#format" class="md-nav__link">
     format
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#global_9" class="md-nav__link">
     global
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#name_10" class="md-nav__link">
     name
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#post_9" class="md-nav__link">
     post
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#style_1" class="md-nav__link">
     style
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#value_10" class="md-nav__link">
     value
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
          <li class="md-nav__item">
  <a href="#public-member-functions_10" class="md-nav__link">
     Public member functions
  </a>
  
    <nav class="md-nav" aria-label=" Public member functions">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#response_3" class="md-nav__link">
     response
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#typeof_10" class="md-nav__link">
     typeOf
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
    </ul>
  
</nav>
                  </div>
                </div>
              </div>
            
          
          
            <div class="md-content" data-md-component="content">
              <article class="md-content__inner md-typeset">
                
                  



  <h1>AutoConnectElements API</h1>

<div class="admonition info">
<p class="admonition-title">Only for AutoConnect</p>
<p>The following AutoConnectElements are valid only for AutoConnect; they are not available for <a href="basicusage.html#using-autoconnectcore-without-custom-web-pages-and-ota-update-facilities">AutoConnectCore</a>.</p>
</div>
<h2 id="autoconnectbutton">AutoConnectButton<a class="headerlink" href="#autoconnectbutton" title="Permanent link">&para;</a></h2>
<h3 id="constructor"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor" title="Permanent link">&para;</a></h3>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">AutoConnectButton(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> name </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> String</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> action </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> String(), </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACPosterior_t post </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Tag_None)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameters</strong></dt>
    <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
    <dd><span class="apidef">value</span><span class="apidesc">Value of the element.</span></dd>
    <dd><span class="apidef">action</span><span class="apidesc">Native code of the action script executed when the button is clicked.</span></dd>
    <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
</dl>

<h3 id="public-member-variables"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables" title="Permanent link">&para;</a></h3>
<h4 id="action"><i class="fa fa-caret-right"></i> action<a class="headerlink" href="#action" title="Permanent link">&para;</a></h4>
<p>HTML native code of the action script to be executed when the button is clicked. It is mostly used with a JavaScript to activate a script.<sup id="fnref:1"><a class="footnote-ref" href="#fn:1">1</a></sup><dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="enable"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable" title="Permanent link">&para;</a></h4>
<p>Enable HTML tag generation for the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
<h4 id="global"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global" title="Permanent link">&para;</a></h4>
<p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
<h4 id="name"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name" title="Permanent link">&para;</a></h4>
<p>The element name.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="post"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post" title="Permanent link">&para;</a></h4>
<p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
<li><strong><code>AC_Tag_BR</code></strong> : Add a <code>&lt;br&gt;</code> tag to the end of the element.</li>
<li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code>&lt;p&gt; ~ &lt;/p&gt;</code> tag.</li>
<li><strong><code>AC_Tag_DIV</code></strong> : Include the element in the <code>&lt;div&gt; ~ &lt;/div&gt;</code> tag.
</span></dd></dl></li>
</ul>
<h4 id="value"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value" title="Permanent link">&para;</a></h4>
<p>Value of the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h3 id="public-member-functions"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions" title="Permanent link">&para;</a></h3>
<h4 id="canhandle"><i class="fa fa-caret-right"></i> canHandle<a class="headerlink" href="#canhandle" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">bool</span><span style="color: #f8f8f2"> canHandle(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns whether the AutoConnectButton element has a registered event handler and can respond to a <a href="https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event">click</a> event.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd><span class="apidef">true</span><span class="apidesc">An event handler is registered. The element can correspond to a click event.</span></dd>
    <dd><span class="apidef">false</span><span class="apidesc">An event handler is not registered.</span></dd></dl></p>
<h4 id="off"><i class="fa fa-caret-right"></i> off<a class="headerlink" href="#off" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> off(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Release a registered event handler so that the element does not react to events. </p>
<h4 id="on"><i class="fa fa-caret-right"></i> on<a class="headerlink" href="#on" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> on(std</span><span style="color: #f92672">::</span><span style="color: #f8f8f2">function</span><span style="color: #f92672">&lt;</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">(AutoConnectButton</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2">, AutoConnectAux</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2">)</span><span style="color: #f92672">&gt;</span><span style="color: #f8f8f2"> eventHandler)</span>
</code></pre></div>
<p>Register an event handler function so that the element can respond to a <a href="https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event">click</a> event.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">eventHandler</span><span class="apidesc">A function instance corresponding to a click event on AutoConnectButton. It allows giving with <a href="https://en.cppreference.com/w/cpp/language/lambda">lambda expressions</a>.</span></dd></dl></p>
<p>An <em>eventHandler</em> function will be called when a click event occurs with the AutoConnectButton. Its prototype declaration is follows:</p>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> eventHandler(AutoConnectButton</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> me, AutoConnectAux</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> aux)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">me</span><span class="apidesc">A reference to the instance of the AutoConnectButton that fired the click event.</span></dd>
    <dd><span class="apidef">aux</span><span class="apidesc">Reference to the AutoConnectAux instance to which the AutoConnectButton that generated the click event belongs.</span></dd>
</dl>

<h4 id="response"><i class="fa fa-caret-right"></i> response<a class="headerlink" href="#response" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> response(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value)</span>
</code></pre></div>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> response(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> attribute, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value)</span>
</code></pre></div>
<p>Reply the value or attribute of an element to the client. The <code>response</code> is usually used for sending a reply to the client with the element's value or attribute that has been updated in an event handler function.</p>
<p>The <code>response</code> function itself does not perform communication. It only temporarily accumulates updated values. The stored content constitutes the response data to the HTTP POST request sent from the client browser caused by the <a href="acinteract.html#event-handling-for-autoconnectelements">AutoConnectElements event</a>.</p>
<p>The <code>response</code> function has two overloads with different numbers of arguments. A <code>response</code> function suitable for just one argument will only update the value of the AutoConnectButton. It also stores the updated value of the button caption text (i.e., the <code>innerHTML</code> attribute dependent on the <code>button type="button"</code> element) into the response data for real-time rendering in the browser upon response. Also, a <code>response</code> function suitable for two arguments allows updating all attributes of the HTML <code>button type="button"</code> element derived from AutoConnectButton.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">value</span><span class="apidesc"><strong>Suitable for one argument format:</strong> A changing value of <a href="acelements.html#value_1">AutoConnectButton::value</a> as response. It also will update the <code>innerHTML</code> attribute of the <code>button type="button"</code> element derived from AutoConnectButton.<br><strong>Suitable for two argument format:</strong> Specifies a value of the HTML <code>button type="button"</code> element to be modified as specified in the <code>attribute</code> argument.</span></dd>
    <dd><span class="apidef">attribute</span><span class="apidesc">An attribute name of an HTML <code>button type="button"</code> element to be changed.</span></dd></dl></p>
<h4 id="typeof"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">ACElement_t typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns type of AutoConnectButton.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>AC_Button</dd></dl></p>
<h2 id="autoconnectcheckbox">AutoConnectCheckbox<a class="headerlink" href="#autoconnectcheckbox" title="Permanent link">&para;</a></h2>
<h3 id="constructor_1"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_1" title="Permanent link">&para;</a></h3>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">AutoConnectCheckbox(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> name </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> label </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">bool</span><span style="color: #f8f8f2"> checked </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> false, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACPosition_t labelPosition </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Behind, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACPosterior_t post </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Tag_BR)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameters</strong></dt>
    <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
    <dd><span class="apidef">value</span><span class="apidesc">Value of the element.</span></dd>
    <dd><span class="apidef">label</span><span class="apidesc">A label string prefixed to the checkbox.</span></dd>
    <dd><span class="apidef">check</span><span class="apidesc">Checked state of the checkbox.</span></dd>
    <dd><span class="apidef">labelPosition</span><span class="apidesc">Specifies the position of the label to generate.</span></dd>
    <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
</dl>

<h3 id="public-member-variables_1"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_1" title="Permanent link">&para;</a></h3>
<h4 id="checked"><i class="fa fa-caret-right"></i> checked<a class="headerlink" href="#checked" title="Permanent link">&para;</a></h4>
<p>It indicates the checked status of the checkbox. The value of the checked checkbox element is packed in the query string and sent by submit.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc"></span></dl></p>
<h4 id="enable_1"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_1" title="Permanent link">&para;</a></h4>
<p>Enable HTML tag generation for the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
<h4 id="global_1"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_1" title="Permanent link">&para;</a></h4>
<p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
<h4 id="label"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label" title="Permanent link">&para;</a></h4>
<p>A label is an optional string. A label is always arranged on the right side of the checkbox. Specification of a label will generate an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">&gt;</span></code> tag with an <code>id</code> attribute. The checkbox and the label are connected by the id attribute.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="labelposition"><i class="fa fa-caret-right"></i> labelPosition<a class="headerlink" href="#labelposition" title="Permanent link">&para;</a></h4>
<p>Specifies the position of the label to generate with ACPostion_t enumeration value.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACPosition_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_Infront</code></strong> : Place a label in front of the check box.</li>
<li><strong><code>AC_Behind</code></strong> : Place a label behind the check box.
</span></dd></dl></li>
</ul>
<h4 id="name_1"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_1" title="Permanent link">&para;</a></h4>
<p>The element name.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="post_1"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_1" title="Permanent link">&para;</a></h4>
<p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
<li><strong><code>AC_Tag_BR</code></strong> : Add a <code>&lt;br&gt;</code> tag to the end of the element.</li>
<li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code>&lt;p&gt; ~ &lt;/p&gt;</code> tag.</li>
<li><strong><code>AC_Tag_DIV</code></strong> : Include the element in the <code>&lt;div&gt; ~ &lt;/div&gt;</code> tag.
</span></dd></dl></li>
</ul>
<h4 id="value_1"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_1" title="Permanent link">&para;</a></h4>
<p>Value of the element. It becomes a value attribute of an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;checkbox&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h3 id="public-member-functions_1"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_1" title="Permanent link">&para;</a></h3>
<h4 id="canhandle_1"><i class="fa fa-caret-right"></i> canHandle<a class="headerlink" href="#canhandle_1" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">bool</span><span style="color: #f8f8f2"> canHandle(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns whether the AutoConnectCheckbox element has a registered event handler and can respond to a <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event">change</a> event.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd><span class="apidef">true</span><span class="apidesc">An event handler is registered. The element can correspond to a change event.</span></dd>
    <dd><span class="apidef">false</span><span class="apidesc">An event handler is not registered.</span></dd></dl></p>
<h4 id="off_1"><i class="fa fa-caret-right"></i> off<a class="headerlink" href="#off_1" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> off(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Release a registered event handler so that the element does not react to events. </p>
<h4 id="on_1"><i class="fa fa-caret-right"></i> on<a class="headerlink" href="#on_1" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> on(std</span><span style="color: #f92672">::</span><span style="color: #f8f8f2">function</span><span style="color: #f92672">&lt;</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">(AutoConnectCheckbox</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2">, AutoConnectAux</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2">)</span><span style="color: #f92672">&gt;</span><span style="color: #f8f8f2"> eventHandler)</span>
</code></pre></div>
<p>Register an event handler function so that the element can respond to a <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event">change</a> event.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">eventHandler</span><span class="apidesc">A function instance corresponding to a change event on AutoConnectCheckbox. It allows giving with <a href="https://en.cppreference.com/w/cpp/language/lambda">lambda expressions</a>.</span></dd></dl></p>
<p>An <em>eventHandler</em> function will be called when a change event occurs with the AutoConnectCheckbox. Its prototype declaration is follows:</p>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> eventHandler(AutoConnectCheckbox</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> me, AutoConnectAux</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> aux)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">me</span><span class="apidesc">A reference to the instance of the AutoConnectCheckbox that fired the change event.</span></dd>
    <dd><span class="apidef">aux</span><span class="apidesc">Reference to the AutoConnectAux instance to which the AutoConnectCheckbox that generated the change event belongs.</span></dd>
</dl>

<h4 id="response_1"><i class="fa fa-caret-right"></i> response<a class="headerlink" href="#response_1" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> response(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">bool</span><span style="color: #f8f8f2"> checked)</span>
</code></pre></div>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> response(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> attribute, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value)</span>
</code></pre></div>
<p>Reply the value or attribute of an element to the client. The <code>response</code> is usually used for sending a reply to the client with the element's value or attribute that has been updated in an event handler function.</p>
<p>The <code>response</code> function itself does not perform communication. It only temporarily accumulates updated values. The stored content constitutes the response data to the HTTP POST request sent from the client browser caused by the <a href="acinteract.html#event-handling-for-autoconnectelements">AutoConnectElements event</a>.</p>
<p>The <code>response</code> function has two overloads with different numbers of arguments. A <code>response</code> function suitable for just one argument will only update the check status of the AutoConnectCheckbox. Also, a <code>response</code> function suitable for two arguments allows updating all attributes of the HTML <code>input type="checkbox"</code> element derived from AutoConnectCheckbox.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">checked</span><span class="apidesc">A changing checked status of <a href="acelements.html#checked">AutoConnectCheckbox::checked</a> as response.</span></dd>
    <dd><span class="apidef">value</span><span class="apidesc">Specifies a value of the HTML <code>input type="checkbox"</code> element to be modified as specified in the <code>attribute</code> argument.</span></dd>
    <dd><span class="apidef">attribute</span><span class="apidesc">An attribute name of an HTML <code>input type="checkbox"</code> element to be changed.</span></dd></dl></p>
<h4 id="typeof_1"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_1" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">ACElement_t typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns type of AutoConnectCheckbox.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>AC_Checkbox</dd></dl></p>
<h2 id="autoconnectelement">AutoConnectElement<a class="headerlink" href="#autoconnectelement" title="Permanent link">&para;</a></h2>
<h3 id="constructor_2"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_2" title="Permanent link">&para;</a></h3>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">AutoConnectElement(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> name </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACPosterior_t post </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Tag_None)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameters</strong></dt>
    <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
    <dd><span class="apidef">value</span><span class="apidesc">Value of the element.</span></dd>
    <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
</dl>

<h3 id="public-member-variables_2"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_2" title="Permanent link">&para;</a></h3>
<h4 id="enable_2"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_2" title="Permanent link">&para;</a></h4>
<p>Enable HTML tag generation for the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
<h4 id="global_2"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_2" title="Permanent link">&para;</a></h4>
<p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
<h4 id="name_2"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_2" title="Permanent link">&para;</a></h4>
<p>The element name.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="post_2"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_2" title="Permanent link">&para;</a></h4>
<p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
<li><strong><code>AC_Tag_BR</code></strong> : Add a <code>&lt;br&gt;</code> tag to the end of the element.</li>
<li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code>&lt;p&gt; ~ &lt;/p&gt;</code> tag.</li>
<li><strong><code>AC_Tag_DIV</code></strong> : Include the element in the <code>&lt;div&gt; ~ &lt;/div&gt;</code> tag.
</span></dd></dl></li>
</ul>
<h4 id="value_2"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_2" title="Permanent link">&para;</a></h4>
<p>Value of the element. It is output as HTML as it is as a source for generating HTML code.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h3 id="public-member-functions_2"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_2" title="Permanent link">&para;</a></h3>
<h4 id="typeof_2"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_2" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">ACElement_t typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns type of AutoConnectElement.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>AC_Element</dd></dl></p>
<h4 id="ast"><i class="fa fa-caret-right"></i> as&lt;T><a class="headerlink" href="#ast" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">AutoConnectElement</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> as</span><span style="color: #f92672">&lt;</span><span style="color: #f8f8f2">T</span><span style="color: #f92672">&gt;</span><span style="color: #f8f8f2">(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Casts the reference to the AutoConnectElement the specified type.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">T</span><span class="apidesc">The element type. AutoConnectElements type such as <a href="apielements.html#autoconnectbutton">AutoConnectButton</a>, <a href="apielements.html#autoconnectcheckbox">AutoConnectCheckbox</a>, <a href="apielements.html#autoconnectfile">AutoConnectFile</a>, <a href="apielements.html#autoconnectinput">AutoConnectInput</a>, <a href="apielements.html#autoconnectradio">AutoConnectRadio</a>, <a href="apielements.html#autoconnectselect">AutoConnectSelect</a>, <a href="apielements.html#autoconnectstyle">AutoConnectStyle</a>, <a href="apielements.html#autoconnectsubmit">AutoConnectSubmit</a>, <a href="apielements.html#autoconnecttext">AutoConnectText</a>.</span></dd>
    <dt><strong>Return value</strong></dt>
    <dd>A reference to the AutoConnectElement with actual type.</dd></dl></p>
<h2 id="autoconnectfile">AutoConnectFile<a class="headerlink" href="#autoconnectfile" title="Permanent link">&para;</a></h2>
<h3 id="constructor_3"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_3" title="Permanent link">&para;</a></h3>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">AutoConnectFile(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> name </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> label </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACFile_t store </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_File_FS, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACPosterior_t post </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Tag_BR)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameters</strong></dt>
    <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
    <dd><span class="apidef">value</span><span class="apidesc">File name to be upload.</span></dd>
    <dd><span class="apidef">label</span><span class="apidesc">Label string.</span></dd>
    <dd><span class="apidef">store</span><span class="apidesc">The <strong>ACFile_t</strong> enumerator that represents the media to save the uploaded file.</span></dd>
    <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
</dl>

<h3 id="public-member-variables_3"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_3" title="Permanent link">&para;</a></h3>
<h4 id="enable_3"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_3" title="Permanent link">&para;</a></h4>
<p>Enable HTML tag generation for the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
<h4 id="global_3"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_3" title="Permanent link">&para;</a></h4>
<p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
<h4 id="label_1"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label_1" title="Permanent link">&para;</a></h4>
<p>A label is an optional string. A label is always arranged on the left side of the file input box. Specification of a label will generate an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">&gt;</span></code> tag with an id attribute. The file input box and the label are connected by the id attribute.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="mimetype"><i class="fa fa-caret-right"></i> mimeType<a class="headerlink" href="#mimetype" title="Permanent link">&para;</a></h4>
<p>The mime type of the upload file which included as Media type in the http post request. Set by the client (usually the browser) that requested the upload. It is determined by the file type as <code>application/octet-stream</code>, <code>text</code> etc. which is described in <a href="https://www.iana.org/assignments/media-types/media-types.xhtml">IANA Media Type</a>.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="name_3"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_3" title="Permanent link">&para;</a></h4>
<p>The element name.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="post_3"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_3" title="Permanent link">&para;</a></h4>
<p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
<li><strong><code>AC_Tag_BR</code></strong> : Add a <code>&lt;br&gt;</code> tag to the end of the element.</li>
<li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code>&lt;p&gt; ~ &lt;/p&gt;</code> tag.</li>
<li><strong><code>AC_Tag_DIV</code></strong> : Include the element in the <code>&lt;div&gt; ~ &lt;/div&gt;</code> tag.
</span></dd></dl></li>
</ul>
<h4 id="size"><i class="fa fa-caret-right"></i> size<a class="headerlink" href="#size" title="Permanent link">&para;</a></h4>
<p>Size of the uploading file.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">size_t</span><span class="apidesc"></span></dd></dl></p>
<h4 id="store"><i class="fa fa-caret-right"></i> store<a class="headerlink" href="#store" title="Permanent link">&para;</a></h4>
<p>Specifies the save destination of the uploaded file. You can use the built-in uploader to save uploaded file to the flash of the ESP8266/ESP32 module or external SD media without writing a dedicated sketch code. It also supports saving to any destination using a custom uploader that inherits from the AutoConnectUploadHandler class.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACFile_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_File_FS</code></strong> : Save the uploaded file to SPIFFS in the flash.</li>
<li><strong><code>AC_File_SD</code></strong> : Save the uploaded file to SD.</li>
<li><strong><code>AC_File_Extern</code></strong> : Save the file using your own upload handler.
    </span></dd></dl></li>
</ul>
<h4 id="value_3"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_3" title="Permanent link">&para;</a></h4>
<p>File name to be upload. The value contains the value entered by the client browser to the <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;file&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag and is read-only.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h3 id="public-member-functions_3"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_3" title="Permanent link">&para;</a></h3>
<h4 id="typeof_3"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_3" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">ACElement_t typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns type of AutoConnectFile.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>AC_File</dd>
</dl></p>
<h2 id="autoconnectinput">AutoConnectInput<a class="headerlink" href="#autoconnectinput" title="Permanent link">&para;</a></h2>
<h3 id="constructor_4"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_4" title="Permanent link">&para;</a></h3>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">AutoConnectInput(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> name </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> label </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> pattern </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> placeholder </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACPosterior_t post </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Tag_BR, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACInput_t apply </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Input_Text)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameters</strong></dt>
    <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
    <dd><span class="apidef">value</span><span class="apidesc">Value of the element.</span></dd>
    <dd><span class="apidef">label</span><span class="apidesc">Label string.</span></dd>
    <dd><span class="apidef">pattern</span><span class="apidesc">Regular expression string for checking data format.</span></dd>
    <dd><span class="apidef">placeholder</span><span class="apidesc">A placeholder string.</span></dd>
    <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
    <dd><span class="apidef">apply</span><span class="apidesc">Specifies the type of input that the text box accepts.</span></dd>
</dl>

<h3 id="public-member-variables_4"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_4" title="Permanent link">&para;</a></h3>
<h4 id="enable_4"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_4" title="Permanent link">&para;</a></h4>
<p>Enable HTML tag generation for the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
<h4 id="global_4"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_4" title="Permanent link">&para;</a></h4>
<p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
<h4 id="label_2"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label_2" title="Permanent link">&para;</a></h4>
<p>A label is an optional string. A label is always arranged on the left side of the input box. Specification of a label will generate an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">&gt;</span></code> tag with an id attribute. The input box and the label are connected by the id attribute.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="name_4"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_4" title="Permanent link">&para;</a></h4>
<p>The element name.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="pattern"><i class="fa fa-caret-right"></i> pattern<a class="headerlink" href="#pattern" title="Permanent link">&para;</a></h4>
<p>A pattern specifies a regular expression that the input-box's value is checked against on form submission.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="placeholder"><i class="fa fa-caret-right"></i> placeholder<a class="headerlink" href="#placeholder" title="Permanent link">&para;</a></h4>
<p>A placeholder is an option string. Specification of a placeholder will generate a <code>placeholder</code> attribute for the input tag.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="post_4"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_4" title="Permanent link">&para;</a></h4>
<p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
<li><strong><code>AC_Tag_BR</code></strong> : Add a <code>&lt;br&gt;</code> tag to the end of the element.</li>
<li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code>&lt;p&gt; ~ &lt;/p&gt;</code> tag.</li>
<li><strong><code>AC_Tag_DIV</code></strong> : Include the element in the <code>&lt;div&gt; ~ &lt;/div&gt;</code> tag.
</span></dd></dl></li>
</ul>
<h4 id="value_4"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_4" title="Permanent link">&para;</a></h4>
<p>Value of the element. It becomes a value attribute of an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;text&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag. An entered text in the custom Web page will be sent with a query string of the form. The value set before accessing the page is displayed as the initial value.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="apply"><i class="fa fa-caret-right"></i> apply<a class="headerlink" href="#apply" title="Permanent link">&para;</a></h4>
<p>Specifies the type of input that the text box accepts. AutoConnectInput will generate either a <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;text&quot;</span><span style="color: #f8f8f2">&gt;</span></code>, <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;password&quot;</span><span style="color: #f8f8f2">&gt;</span></code>, or <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;number&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag based on the <code>apply</code> specifying as input type. The input type can be specified the following values in the <em>ACInput_t</em> enumeration type. <sup id="fnref2:1"><a class="footnote-ref" href="#fn:1">1</a></sup><dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACInput_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_Input_Text</code></strong> : <code>input type="text"</code></li>
<li><strong><code>AC_Input_Password</code></strong> : <code>input type="password"</code></li>
<li><strong><code>AC_Input_Number</code></strong> : <code>input type="number"</code>
</span></dd></dl></li>
</ul>
<h3 id="public-member-functions_4"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_4" title="Permanent link">&para;</a></h3>
<h4 id="canhandle_2"><i class="fa fa-caret-right"></i> canHandle<a class="headerlink" href="#canhandle_2" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">bool</span><span style="color: #f8f8f2"> canHandle(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns whether the AutoConnectInput element has a registered event handler and can respond to a <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event">change</a> event.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd><span class="apidef">true</span><span class="apidesc">An event handler is registered. The element can correspond to a change event.</span></dd>
    <dd><span class="apidef">false</span><span class="apidesc">An event handler is not registered.</span></dd></dl></p>
<h4 id="isvalid"><i class="fa fa-caret-right"></i> isValid<a class="headerlink" href="#isvalid" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">bool</span><span style="color: #f8f8f2"> isValid(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Evaluate the pattern as a regexp and return whether value matches. Always return true if the pattern is undefined.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd><span class="apidef">true</span><span class="apidesc">The value matches a pattern.</span></dd>
    <dd><span class="apidef">false</span><span class="apidesc">The value does not match a pattern.</span></dd></dl></p>
<h4 id="off_2"><i class="fa fa-caret-right"></i> off<a class="headerlink" href="#off_2" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> off(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Release a registered event handler so that the element does not react to events. </p>
<h4 id="on_2"><i class="fa fa-caret-right"></i> on<a class="headerlink" href="#on_2" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> on(std</span><span style="color: #f92672">::</span><span style="color: #f8f8f2">function</span><span style="color: #f92672">&lt;</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">(AutoConnectInput</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2">, AutoConnectAux</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2">)</span><span style="color: #f92672">&gt;</span><span style="color: #f8f8f2"> eventHandler)</span>
</code></pre></div>
<p>Register an event handler function so that the element can respond to a <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event">change</a> event.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">eventHandler</span><span class="apidesc">A function instance corresponding to a change event on AutoConnectInput. It allows giving with <a href="https://en.cppreference.com/w/cpp/language/lambda">lambda expressions</a>.</span></dd></dl></p>
<p>An <em>eventHandler</em> function will be called when a change event occurs with the AutoConnectInput. Its prototype declaration is follows:</p>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> eventHandler(AutoConnectInput</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> me, AutoConnectAux</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> aux)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">me</span><span class="apidesc">A reference to the instance of the AutoConnectInput that fired the change event.</span></dd>
    <dd><span class="apidef">aux</span><span class="apidesc">Reference to the AutoConnectAux instance to which the AutoConnectInput that generated the change event belongs.</span></dd>
</dl>

<h4 id="response_2"><i class="fa fa-caret-right"></i> response<a class="headerlink" href="#response_2" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> response(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value)</span>
</code></pre></div>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> response(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> attribute, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value)</span>
</code></pre></div>
<p>Reply the value or attribute of an element to the client. The <code>response</code> is usually used for sending a reply to the client with the element's value or attribute that has been updated in an event handler function.</p>
<p>The <code>response</code> function itself does not perform communication. It only temporarily accumulates updated values. The stored content constitutes the response data to the HTTP POST request sent from the client browser caused by the <a href="acinteract.html#event-handling-for-autoconnectelements">AutoConnectElements event</a>.</p>
<p>The <code>response</code> function has two overloads with different numbers of arguments. A <code>response</code> function suitable for just one argument will only update the value of the AutoConnectInput. Also, a <code>response</code> function suitable for two arguments allows updating all attributes of the HTML <code>input type="text"</code> element derived from AutoConnectInput.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">value</span><span class="apidesc"><strong>Suitable for one argument format:</strong> A changing value of <a href="acelements.html#value_4">AutoConnectInput::value</a> as response.<br><strong>Suitable for two argument format:</strong> Specifies a value of the HTML <code>input type="text"</code> element to be modified as specified in the <code>attribute</code> argument.</span></dd>
    <dd><span class="apidef">attribute</span><span class="apidesc">An attribute name of an HTML <code>input type="text"</code> element to be changed.</span></dd></dl></p>
<h4 id="typeof_4"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_4" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">ACElement_t typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns type of AutoConnectInput.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>AC_Input</dd></dl></p>
<h2 id="autoconnectradio">AutoConnectRadio<a class="headerlink" href="#autoconnectradio" title="Permanent link">&para;</a></h2>
<h3 id="constructor_5"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_5" title="Permanent link">&para;</a></h3>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">AutoConnectRadio(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> name </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, std</span><span style="color: #f92672">::</span><span style="color: #f8f8f2">vector</span><span style="color: #f92672">&lt;</span><span style="color: #f8f8f2">String</span><span style="color: #f92672">&gt;</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">const</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> values </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> {}, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> label </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACArrange_t order </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Vertical, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">uint8_t</span><span style="color: #f8f8f2"> checked </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #ae81ff">0</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACPosterior_t post </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Tag_BR)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameters</strong></dt>
    <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
    <dd><span class="apidef">values</span><span class="apidesc">An array of values of the radio buttons. Specifies a <a href="https://en.cppreference.com/w/cpp/container/vector">std::vector</a> object.</span></dd>
    <dd><span class="apidef">label</span><span class="apidesc">Label string.</span></dd>
    <dd><span class="apidef">order</span><span class="apidesc">The direction to arrange the radio buttons.</span></dd>
    <dd><span class="apidef">checked</span><span class="apidesc">An index to be checked in the radio buttons.</span></dd>
    <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
</dl>

<h3 id="public-member-variables_5"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_5" title="Permanent link">&para;</a></h3>
<h4 id="checked_1"><i class="fa fa-caret-right"></i> checked<a class="headerlink" href="#checked_1" title="Permanent link">&para;</a></h4>
<p>Specifies the index number (1-based) of the <strong>values</strong> to be checked. If this parameter is not specified neither item is checked.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">uint8_t</span><span class="apidesc"></span></dd></dl></p>
<h4 id="enable_5"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_5" title="Permanent link">&para;</a></h4>
<p>Enable HTML tag generation for the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
<h4 id="global_5"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_5" title="Permanent link">&para;</a></h4>
<p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
<h4 id="label_3"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label_3" title="Permanent link">&para;</a></h4>
<p>A label is an optional string. A label will be arranged in the left or top of the radio buttons according to the <a href="#order">order</a>.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="name_5"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_5" title="Permanent link">&para;</a></h4>
<p>The element name.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="order"><i class="fa fa-caret-right"></i> order<a class="headerlink" href="#order" title="Permanent link">&para;</a></h4>
<p>Specifies the direction to arrange the radio buttons. A label will place in the left or the top according to the <strong><em>order</em></strong>. It is a value of <strong>ACArrange_t</strong> type and accepts one of the following:<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACArrange_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_Horizontal</code></strong> : Horizontal arrangement.</li>
<li><strong><code>AC_Vertical</code></strong> : Vertical arrangement.
    </span></dd></dl></li>
</ul>
<h4 id="post_5"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_5" title="Permanent link">&para;</a></h4>
<p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
<li><strong><code>AC_Tag_BR</code></strong> : Add a <code>&lt;br&gt;</code> tag to the end of the element.</li>
<li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code>&lt;p&gt; ~ &lt;/p&gt;</code> tag.</li>
<li><strong><code>AC_Tag_DIV</code></strong> : Include the element in the <code>&lt;div&gt; ~ &lt;/div&gt;</code> tag.
</span></dd></dl></li>
</ul>
<h4 id="values"><i class="fa fa-caret-right"></i> values<a class="headerlink" href="#values" title="Permanent link">&para;</a></h4>
<p>An array of String type for the radio button options. It is an initialization list can be used. The <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;radio&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tags will be generated from each entry in the values.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">std::vector&lt;String&gt;</span><span class="apidesc"></span></dd></dl></p>
<h3 id="public-member-functions_5"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_5" title="Permanent link">&para;</a></h3>
<h4 id="add"><i class="fa fa-caret-right"></i> add<a class="headerlink" href="#add" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> add(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> String</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> value)</span>
</code></pre></div>
<p>Adds an option for the radio button.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">value</span><span class="apidesc">An option string to add to the radio button.</span></dd></dl></p>
<h4 id="canhandle_3"><i class="fa fa-caret-right"></i> canHandle<a class="headerlink" href="#canhandle_3" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">bool</span><span style="color: #f8f8f2"> canHandle(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns whether the AutoConnectRadio element has a registered event handler and can respond to a <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event">change</a> event.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd><span class="apidef">true</span><span class="apidesc">An event handler is registered. The element can correspond to a change event.</span></dd>
    <dd><span class="apidef">false</span><span class="apidesc">An event handler is not registered.</span></dd></dl></p>
<h4 id="check"><i class="fa fa-caret-right"></i> check<a class="headerlink" href="#check" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> check(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> String</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> value)</span>
</code></pre></div>
<p>Indicates the check of the specified option for the radio buttons. You can use the <strong>check</strong> function for checking dynamically with arbitrary of the radio button.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">value</span><span class="apidesc">An option string to be checked.</span></dd></dl></p>
<h4 id="empty"><i class="fa fa-caret-right"></i> empty<a class="headerlink" href="#empty" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> empty(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">size_t</span><span style="color: #f8f8f2"> reserve </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #ae81ff">0</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Clear the array of option strings that AutoConnectRadio has in the values. When the <strong><em>reserve</em></strong> parameter is specified, a vector container of that size is reserved.</p>
<p>The empty function resets the checked value to zero. When the empty function is executed, any button will be turned off.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">reserve</span><span class="apidesc">Reserved size of a container for the radio button option strings.</span></dd></dl></p>
<h4 id="off_3"><i class="fa fa-caret-right"></i> off<a class="headerlink" href="#off_3" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> off(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Release a registered event handler so that the element does not react to events. </p>
<h4 id="on_3"><i class="fa fa-caret-right"></i> on<a class="headerlink" href="#on_3" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> on(std</span><span style="color: #f92672">::</span><span style="color: #f8f8f2">function</span><span style="color: #f92672">&lt;</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">(AutoConnectRadio</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2">, AutoConnectAux</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2">)</span><span style="color: #f92672">&gt;</span><span style="color: #f8f8f2"> eventHandler)</span>
</code></pre></div>
<p>Register an event handler function so that the element can respond to a <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event">change</a> event.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">eventHandler</span><span class="apidesc">A function instance corresponding to a change event on AutoConnectRadio. It allows giving with <a href="https://en.cppreference.com/w/cpp/language/lambda">lambda expressions</a>.</span></dd></dl></p>
<p>An <em>eventHandler</em> function will be called when a change event occurs with the AutoConnectRadio. Its prototype declaration is follows:</p>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> eventHandler(AutoConnectRadio</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> me, AutoConnectAux</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> aux)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">me</span><span class="apidesc">A reference to the instance of the AutoConnectRadio that fired the change event.</span></dd>
    <dd><span class="apidef">aux</span><span class="apidesc">Reference to the AutoConnectAux instance to which the AutoConnectRadio that generated the change event belongs.</span></dd>
</dl>

<h4 id="operator"><i class="fa fa-caret-right"></i> operator &#91;&nbsp;&#93;<a class="headerlink" href="#operator" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> String</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">operator</span><span style="color: #f8f8f2">[] (</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> std</span><span style="color: #f92672">::</span><span style="color: #66d9ef">size_t</span><span style="color: #f8f8f2"> n)</span>
</code></pre></div>
<p>Returns a value string of the index specified by <strong><em>n</em></strong>.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">n</span><span class="apidesc">Index of values array to return. Its base number is 0.</span></dd>
    <dt><strong>Return value</strong></dt>
    <dd>A reference of a value string indexed by the specified the <strong>n</strong>.</dd></dl></p>
<h4 id="size_1"><i class="fa fa-caret-right"></i> size<a class="headerlink" href="#size_1" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">size_t</span><span style="color: #f8f8f2"> size(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns number of options which contained.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>Number of options which contained.</dd></dl></p>
<h4 id="typeof_5"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_5" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">ACElement_t typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns type of AutoConnectRadio.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>AC_Radio</dd></dl></p>
<h4 id="value_5"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_5" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">  </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> String</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> value(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">) </span><span style="color: #66d9ef">const</span>
</code></pre></div>
<p>Returns current checked option of the radio buttons.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>A String of an option current checked. If there is no checked option, a null string returned.</dd></dl></p>
<h2 id="autoconnectrange">AutoConnectRange<a class="headerlink" href="#autoconnectrange" title="Permanent link">&para;</a></h2>
<h3 id="constructor_6"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_6" title="Permanent link">&para;</a></h3>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">AutoConnectRange(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> name </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">int</span><span style="color: #f8f8f2"> value </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #ae81ff">0</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> label </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">int</span><span style="color: #f8f8f2"> min </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #ae81ff">0</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">int</span><span style="color: #f8f8f2"> max </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #ae81ff">0</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">int</span><span style="color: #f8f8f2"> step </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #ae81ff">1</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACPosition_t magnify </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Void, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACPosterior_t post </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Tag_BR, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> style </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameters</strong></dt>
    <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
    <dd><span class="apidef">value</span><span class="apidesc">The initial value in the range.</span></dd>
    <dd><span class="apidef">label</span><span class="apidesc">Label string.</span></dd>
    <dd><span class="apidef">min</span><span class="apidesc">The most negative value within the range of allowed values.</span></dd>
    <dd><span class="apidef">max</span><span class="apidesc">The greatest value in the range of permitted values.</span></dd>
    <dd><span class="apidef">step</span><span class="apidesc">The granularity that the value must adhere to.</span></dd>
    <dd><span class="apidef">magnify</span><span class="apidesc">Specifies the display position of the current value of the range.</span></dd>
    <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
    <dd><span class="apidef">style</span><span class="apidesc">A style code with CSS format that qualifiers the range slider.</span></dd>
</dl>

<h3 id="public-member-variables_6"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_6" title="Permanent link">&para;</a></h3>
<h4 id="enable_6"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_6" title="Permanent link">&para;</a></h4>
<p>Enable HTML tag generation for the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
<h4 id="global_6"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_6" title="Permanent link">&para;</a></h4>
<p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
<h4 id="label_4"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label_4" title="Permanent link">&para;</a></h4>
<p>A label is an optional string. A label is always arranged on the left side of the input box. Specification of a label will generate an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">&gt;</span></code> tag with an id attribute. The range slider and the label are connected by the id attribute.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="magnify"><i class="fa fa-caret-right"></i> magnify<a class="headerlink" href="#magnify" title="Permanent link">&para;</a></h4>
<dl>
<dt>Display position of the current value of the range.<dl class="apidl"></dt>
<dt><dt><strong>Type</strong></dt></dt>
<dt><dd><span class="apidef">ACPosition_t</span><span class="apidesc"></dt>
<dd>
<ul>
<li><strong>AC_Infront</strong> : Displays the current value on the left side.</li>
</ul>
</dd>
<dd>
<ul>
<li><strong>AC_Behind</strong> : Displays the current value on the right side.</li>
</ul>
</dd>
<dd>
<ul>
<li><strong>AC_Void</strong> :  No display the current value. This is the default.
</span></dd></dl></li>
</ul>
</dd>
</dl>
<h4 id="max"><i class="fa fa-caret-right"></i> max<a class="headerlink" href="#max" title="Permanent link">&para;</a></h4>
<p>The greatest value in the range.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">int</span><span class="apidesc"></span></dd></dl></p>
<h4 id="min"><i class="fa fa-caret-right"></i> min<a class="headerlink" href="#min" title="Permanent link">&para;</a></h4>
<p>The most negative value within the range.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">int</span><span class="apidesc"></span></dd></dl></p>
<h4 id="name_6"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_6" title="Permanent link">&para;</a></h4>
<p>The element name.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="post_6"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_6" title="Permanent link">&para;</a></h4>
<p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
<li><strong><code>AC_Tag_BR</code></strong> : Add a <code>&lt;br&gt;</code> tag to the end of the element.</li>
<li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code>&lt;p&gt; ~ &lt;/p&gt;</code> tag.</li>
<li><strong><code>AC_Tag_DIV</code></strong> : Include the element in the <code>&lt;div&gt; ~ &lt;/div&gt;</code> tag.
</span></dd></dl></li>
</ul>
<h4 id="step"><i class="fa fa-caret-right"></i> step<a class="headerlink" href="#step" title="Permanent link">&para;</a></h4>
<p>The granularity that the value must adhere to.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">int</span><span class="apidesc"></span></dd></dl></p>
<h4 id="style"><i class="fa fa-caret-right"></i> style<a class="headerlink" href="#style" title="Permanent link">&para;</a></h4>
<p>A style code with CSS format that qualifiers the range slider.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="value_6"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_6" title="Permanent link">&para;</a></h4>
<p>Value of the element. It becomes a value attribute of an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;range&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag. A value of range in the custom Web page will be sent with a query string of the form.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">int</span><span class="apidesc"></span></dd></dl></p>
<h3 id="public-member-functions_6"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_6" title="Permanent link">&para;</a></h3>
<h4 id="typeof_6"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_6" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">ACElement_t typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns type of AutoConnectRange.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>AC_Range</dd></dl></p>
<h2 id="autoconnectselect">AutoConnectSelect<a class="headerlink" href="#autoconnectselect" title="Permanent link">&para;</a></h2>
<h3 id="constructor_7"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_7" title="Permanent link">&para;</a></h3>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">AutoConnectSelect(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> name </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, std</span><span style="color: #f92672">::</span><span style="color: #f8f8f2">vector</span><span style="color: #f92672">&lt;</span><span style="color: #f8f8f2">String</span><span style="color: #f92672">&gt;</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">const</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> options </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> {}, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> label </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">uint8_t</span><span style="color: #f8f8f2"> selected </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #ae81ff">0</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACPosterior_t post </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Tag_BR)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameters</strong></dt>
    <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
    <dd><span class="apidef">options</span><span class="apidesc">An array of options of the select element. Specifies a <a href="https://en.cppreference.com/w/cpp/container/vector">std::vector</a> object.</span></dd>
    <dd><span class="apidef">label</span><span class="apidesc">Label string.</span></dd>
    <dd><span class="apidef">selected</span><span class="apidesc">An option should be pre-selected when the page loads.</span></dd>
    <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
</dl>

<h3 id="public-member-variables_7"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_7" title="Permanent link">&para;</a></h3>
<h4 id="enable_7"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_7" title="Permanent link">&para;</a></h4>
<p>Enable HTML tag generation for the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
<h4 id="global_7"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_7" title="Permanent link">&para;</a></h4>
<p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
<h4 id="name_7"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_7" title="Permanent link">&para;</a></h4>
<p>The element name.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="label_5"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label_5" title="Permanent link">&para;</a></h4>
<p>A label is an optional string. A label will be arranged in the top of the selection list.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="options"><i class="fa fa-caret-right"></i> options<a class="headerlink" href="#options" title="Permanent link">&para;</a></h4>
<p>An array of String type for the selection options. It is an initialization list can be used. The <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">option</span> <span style="color: #a6e22e">value</span><span style="color: #f8f8f2">&gt;</span></code> tags will be generated from each entry in the options.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">std::vector&lt;String&gt;</span><span class="apidesc"></span></dd></dl></p>
<h4 id="post_7"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_7" title="Permanent link">&para;</a></h4>
<p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
<li><strong><code>AC_Tag_BR</code></strong> : Add a <code>&lt;br&gt;</code> tag to the end of the element.</li>
<li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code>&lt;p&gt; ~ &lt;/p&gt;</code> tag.</li>
<li><strong><code>AC_Tag_DIV</code></strong> : Include the element in the <code>&lt;div&gt; ~ &lt;/div&gt;</code> tag.
</span></dd></dl></li>
</ul>
<h4 id="selected"><i class="fa fa-caret-right"></i> selected<a class="headerlink" href="#selected" title="Permanent link">&para;</a></h4>
<p>A <code>selected</code> is an optional value. Specifies 1-based index value of an options array that an option should be pre-selected when the page loads.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">uint8_t</span><span class="apidesc"></span></dd></dl></p>
<h3 id="public-member-functions_7"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_7" title="Permanent link">&para;</a></h3>
<h4 id="add_1"><i class="fa fa-caret-right"></i> add<a class="headerlink" href="#add_1" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> add(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> String</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> option)</span>
</code></pre></div>
<h4 id="canhandle_4"><i class="fa fa-caret-right"></i> canHandle<a class="headerlink" href="#canhandle_4" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">bool</span><span style="color: #f8f8f2"> canHandle(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns whether the AutoConnectSelect element has a registered event handler and can respond to a <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event">change</a> event.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd><span class="apidef">true</span><span class="apidesc">An event handler is registered. The element can correspond to a change event.</span></dd>
    <dd><span class="apidef">false</span><span class="apidesc">An event handler is not registered.</span></dd></dl></p>
<p>Adds a selectable option string for the selection list.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">option</span><span class="apidesc">A string of selectable item to be contained in the select element.</span></dd></dl></p>
<h4 id="empty_1"><i class="fa fa-caret-right"></i> empty<a class="headerlink" href="#empty_1" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> empty(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">size_t</span><span style="color: #f8f8f2"> reserve </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #ae81ff">0</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Clear the array of options list that AutoConnectSelect has in the options. When the <strong><em>reserve</em></strong> parameter is specified, a vector container of that size is reserved.</p>
<p>The empty function resets the selected value to zero. When the empty function is executed, there are no selected options and the first item is placed at the beginning.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">reserve</span><span class="apidesc">Reserved size of a container for the options.</span></dd></dl></p>
<h4 id="off_4"><i class="fa fa-caret-right"></i> off<a class="headerlink" href="#off_4" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> off(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Release a registered event handler so that the element does not react to events. </p>
<h4 id="on_4"><i class="fa fa-caret-right"></i> on<a class="headerlink" href="#on_4" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> on(std</span><span style="color: #f92672">::</span><span style="color: #f8f8f2">function</span><span style="color: #f92672">&lt;</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">(AutoConnectSelect</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2">, AutoConnectAux</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2">)</span><span style="color: #f92672">&gt;</span><span style="color: #f8f8f2"> eventHandler)</span>
</code></pre></div>
<p>Register an event handler function so that the element can respond to a <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event">change</a> event.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">eventHandler</span><span class="apidesc">A function instance corresponding to a change event on AutoConnectSelect. It allows giving with <a href="https://en.cppreference.com/w/cpp/language/lambda">lambda expressions</a>.</span></dd></dl></p>
<p>An <em>eventHandler</em> function will be called when a change event occurs with the AutoConnectSelect. Its prototype declaration is follows:</p>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> eventHandler(AutoConnectSelect</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> me, AutoConnectAux</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> aux)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">me</span><span class="apidesc">A reference to the instance of the AutoConnectSelect that fired the change event.</span></dd>
    <dd><span class="apidef">aux</span><span class="apidesc">Reference to the AutoConnectAux instance to which the AutoConnectSelect that generated the change event belongs.</span></dd>
</dl>

<h4 id="operator_1"><i class="fa fa-caret-right"></i> operator &#91;&nbsp;&#93;<a class="headerlink" href="#operator_1" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> String</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">operator</span><span style="color: #f8f8f2">[] (</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> std</span><span style="color: #f92672">::</span><span style="color: #66d9ef">size_t</span><span style="color: #f8f8f2"> n)</span>
</code></pre></div>
<p>Returns an option string of the index specified by <strong><em>n</em></strong>.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">n</span><span class="apidesc">Index of options array to return. Its base number is 0.</span></dd>
    <dt><strong>Return value</strong></dt>
    <dd>A reference of a option string indexed by the specified the <strong>n</strong>.</dd></dl></p>
<h4 id="select"><i class="fa fa-caret-right"></i> select<a class="headerlink" href="#select" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">  </span><span style="color: #a6e22e">select</span><span style="color: #f8f8f2">(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> String</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> value);</span>
</code></pre></div>
<p>Selects an option with the value.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">value</span><span class="apidesc">String value that option should be selected in an option array.</span></dd></dl></p>
<h4 id="size_2"><i class="fa fa-caret-right"></i> size<a class="headerlink" href="#size_2" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">size_t</span><span style="color: #f8f8f2"> size(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns number of options which contained.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>Number of options which contained.</dd></dl></p>
<h4 id="typeof_7"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_7" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">ACElement_t typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns type of AutoConnectSelect.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>AC_Select</dd></dl></p>
<h4 id="value_7"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_7" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> String</span><span style="color: #f92672">&amp;</span><span style="color: #f8f8f2"> </span><span style="color: #a6e22e">value</span><span style="color: #f8f8f2">(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">) </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2">;</span>
</code></pre></div>
<p>Returns current selected option of the select list.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>A String of an option current selected. If there is no select option, a null string returned.</dd></dl></p>
<h2 id="autoconnectstyle">AutoConnectStyle<a class="headerlink" href="#autoconnectstyle" title="Permanent link">&para;</a></h2>
<h3 id="constructor_8"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_8" title="Permanent link">&para;</a></h3>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">AutoConnectStyle(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> name </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameters</strong></dt>
    <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
    <dd><span class="apidef">value</span><span class="apidesc">Raw CSS code to insert into a style block in a custom web page to generate.</span></dd>
</dl>

<h3 id="public-member-variables_8"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_8" title="Permanent link">&para;</a></h3>
<h4 id="enable_8"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_8" title="Permanent link">&para;</a></h4>
<p>Enable HTML tag generation for the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
<h4 id="name_8"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_8" title="Permanent link">&para;</a></h4>
<p>The element name.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="value_8"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_8" title="Permanent link">&para;</a></h4>
<p>Raw CSS code to insert into a style block in a custom web page to generate.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h3 id="public-member-functions_8"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_8" title="Permanent link">&para;</a></h3>
<h4 id="typeof_8"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_8" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">ACElement_t typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns type of AutoConnectStyle.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>AC_Style</dd></dl></p>
<h2 id="autoconnectsubmit">AutoConnectSubmit<a class="headerlink" href="#autoconnectsubmit" title="Permanent link">&para;</a></h2>
<h3 id="constructor_9"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_9" title="Permanent link">&para;</a></h3>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">AutoConnectSubmit(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> name </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value </span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> uri </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACPosterior_t post </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Tag_None)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameters</strong></dt>
    <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
    <dd><span class="apidef">value</span><span class="apidesc">The name of the submit button as an HTML `#!html <input type="button">` tag, it will also be the label of the button.</span></dd>
    <dd><span class="apidef">uri</span><span class="apidesc">Destination URI.</span></dd>
    <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
</dl>

<h3 id="public-member-variables_9"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_9" title="Permanent link">&para;</a></h3>
<h4 id="enable_9"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_9" title="Permanent link">&para;</a></h4>
<p>Enable HTML tag generation for the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
<h4 id="global_8"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_8" title="Permanent link">&para;</a></h4>
<p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
<h4 id="name_9"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_9" title="Permanent link">&para;</a></h4>
<p>The element name.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="post_8"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_8" title="Permanent link">&para;</a></h4>
<p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
<li><strong><code>AC_Tag_BR</code></strong> : Add a <code>&lt;br&gt;</code> tag to the end of the element.</li>
<li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code>&lt;p&gt; ~ &lt;/p&gt;</code> tag.</li>
<li><strong><code>AC_Tag_DIV</code></strong> : Include the element in the <code>&lt;div&gt; ~ &lt;/div&gt;</code> tag.
</span></dd></dl></li>
</ul>
<h4 id="uri"><i class="fa fa-caret-right"></i> uri<a class="headerlink" href="#uri" title="Permanent link">&para;</a></h4>
<p>Destination URI.<dl class="apidl">    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="value_9"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_9" title="Permanent link">&para;</a></h4>
<p>The name of the submit button. It will also be the label of the button.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h3 id="public-member-functions_9"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_9" title="Permanent link">&para;</a></h3>
<h4 id="typeof_9"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_9" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">ACElement_t typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns type of AutoConnectSubmit.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>AC_Submit</dd></dl></p>
<h2 id="autoconnecttext">AutoConnectText<a class="headerlink" href="#autoconnecttext" title="Permanent link">&para;</a></h2>
<h3 id="constructor_10"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_10" title="Permanent link">&para;</a></h3>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">AutoConnectText(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> name </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> style </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> format </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> </span><span style="color: #e6db74">&quot;&quot;</span><span style="color: #f8f8f2">, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> ACPosterior_t post </span><span style="color: #f92672">=</span><span style="color: #f8f8f2"> AC_Tag_None)</span>
</code></pre></div>
<dl class="apidl">
    <dt><strong>Parameters</strong></dt>
    <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
    <dd><span class="apidef">value</span><span class="apidesc">String of content for the text element.</span></dd>
    <dd><span class="apidef">style</span><span class="apidesc">A style code with CSS format that qualifiers the text.</span></dd>
    <dd><span class="apidef">format</span><span class="apidesc">A pointer to a null-terminated multibyte string specifying how to interpret the value. It specifies the conversion format when outputting values. The format string conforms to C-style printf library functions</span></dd>
    <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
</dl>

<h3 id="public-member-variables_10"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_10" title="Permanent link">&para;</a></h3>
<h4 id="enable_10"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_10" title="Permanent link">&para;</a></h4>
<p>Enable HTML tag generation for the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
<h4 id="format"><i class="fa fa-caret-right"></i> format<a class="headerlink" href="#format" title="Permanent link">&para;</a></h4>
<p>The conversion format when outputting values. The format string conforms to C-style printf library functions.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="global_9"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_9" title="Permanent link">&para;</a></h4>
<p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
<h4 id="name_10"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_10" title="Permanent link">&para;</a></h4>
<p>The element name.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="post_9"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_9" title="Permanent link">&para;</a></h4>
<p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
<ul>
<li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
<li><strong><code>AC_Tag_BR</code></strong> : Add a <code>&lt;br&gt;</code> tag to the end of the element.</li>
<li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code>&lt;p&gt; ~ &lt;/p&gt;</code> tag.</li>
<li><strong><code>AC_Tag_DIV</code></strong> : Include the element in the <code>&lt;div&gt; ~ &lt;/div&gt;</code> tag.
</span></dd></dl></li>
</ul>
<h4 id="style_1"><i class="fa fa-caret-right"></i> style<a class="headerlink" href="#style_1" title="Permanent link">&para;</a></h4>
<p>A style code with CSS format that qualifiers the text.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h4 id="value_10"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_10" title="Permanent link">&para;</a></h4>
<p>A content string of the text element.<dl class="apidl">
    <dt><strong>Type</strong></dt>
    <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
<h3 id="public-member-functions_10"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_10" title="Permanent link">&para;</a></h3>
<h4 id="response_3"><i class="fa fa-caret-right"></i> response<a class="headerlink" href="#response_3" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> response(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value)</span>
</code></pre></div>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #66d9ef">void</span><span style="color: #f8f8f2"> response(</span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> attribute, </span><span style="color: #66d9ef">const</span><span style="color: #f8f8f2"> </span><span style="color: #66d9ef">char</span><span style="color: #f92672">*</span><span style="color: #f8f8f2"> value)</span>
</code></pre></div>
<p>Reply the value or attribute of an element to the client. The <code>response</code> is usually used for sending a reply to the client with the element's value or attribute that has been updated in an event handler function.</p>
<p>The <code>response</code> function itself does not perform communication. It only temporarily accumulates updated values. The stored content constitutes the response data to the HTTP POST request sent from the client browser caused by the <a href="acinteract.html#event-handling-for-autoconnectelements">AutoConnectElements event</a>.</p>
<p>The <code>response</code> function has two overloads with different numbers of arguments. A <code>response</code> function suitable for just one argument will only update the DOM text (i.e., the <code>innerHTML</code> attribute dependent on the <code>div</code> or <code>span</code> node) of the AutoConnectText. Also, a <code>response</code> function suitable for two arguments allows updating all attributes of the HTML <code>div</code> or <code>span</code> node derived from AutoConnectText.<dl class="apidl">
    <dt><strong>Parameter</strong></dt>
    <dd><span class="apidef">value</span><span class="apidesc"><strong>Suitable for one argument format:</strong> A changing value of <a href="acelements.html#value_10">AutoConnectText::value</a> as response. It also will update the <code>innerHTML</code> attribute of the <code>div</code> or <code>span</code> node derived from AutoConnectText.<br><strong>Suitable for two argument format:</strong> Specifies a value of the HTML <code>div</code> or <code>span</code> node to be modified as specified in the <code>attribute</code> argument.</span></dd>
    <dd><span class="apidef">attribute</span><span class="apidesc">An attribute name of an HTML <code>div</code> or <code>span</code> node to be changed.</span></dd></dl></p>
<h4 id="typeof_10"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_10" title="Permanent link">&para;</a></h4>
<div class="highlight" style="background: #272822"><pre style="line-height: 125%;"><span></span><code><span style="color: #f8f8f2">ACElement_t typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
</code></pre></div>
<p>Returns type of AutoConnectText.<dl class="apidl">
    <dt><strong>Return value</strong></dt>
    <dd>AC_Text</dd></dl></p>
<div class="footnote">
<hr />
<ol>
<li id="fn:1">
<p><strong>ACInput_t</strong> does not mind what kind of display effects on the browser. For example, <strong>input type="number"</strong> has a spin button in Chrome, but has no display effects in iOS Safari. You will see the numeric keypad at inputting the number field with giving the pattern as <code>\d*</code>.&#160;<a class="footnote-backref" href="#fnref:1" title="Jump back to footnote 1 in the text">&#8617;</a><a class="footnote-backref" href="#fnref2:1" title="Jump back to footnote 1 in the text">&#8617;</a></p>
</li>
</ol>
</div>


  




                
              </article>
            </div>
          
          
        </div>
        
          <a href="#" class="md-top md-icon" data-md-component="top" hidden>
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12Z"/></svg>
            Back to top
          </a>
        
      </main>
      
        <footer class="md-footer">
  
  <div class="md-footer-meta md-typeset">
    <div class="md-footer-meta__inner md-grid">
      <div class="md-copyright">
  
    <div class="md-copyright__highlight">
      Copyright &copy; 2018-2023 Hieromon Ikasamo
    </div>
  
  
    Made with
    <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
      Material for MkDocs
    </a>
  
</div>
      
        <div class="md-social">
  
    
    
      
      
    
    <a href="https://github.com/Hieromon" target="_blank" rel="noopener" title="github.com" class="md-social__link">
      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--! Font Awesome Free 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
    </a>
  
    
    
      
      
    
    <a href="https://twitter.com/hieromon" target="_blank" rel="noopener" title="twitter.com" class="md-social__link">
      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc.--><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>
    </a>
  
</div>
      
    </div>
  </div>
</footer>
      
    </div>
    <div class="md-dialog" data-md-component="dialog">
      <div class="md-dialog__inner md-typeset"></div>
    </div>
    
    <script id="__config" type="application/json">{"base": ".", "features": ["navigation.top"], "search": "assets/javascripts/workers/search.db81ec45.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>
    
    
      <script src="assets/javascripts/bundle.a00a7c5e.min.js"></script>
      
        <script src="js/gifffer.min.js"></script>
      
    
  </body>
</html>